package com.woniu.exception.token;

public enum TokenExceptionCode {

    CK_TOKEN_INFO_NO_DETAIL(5001,"没有数据"),
    CK_TOKEN_INFO_TOKEN_NULL(5002,"token为空"),
    CK_TOKEN_INFO_NULL_DETAIL(5003,"没有主体数据");
    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }


    TokenExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
